package hub.cathome.entity;

public class User {
    private Integer id;
    private String username;
    private String nickname;
    private Long password;
    private String gender;
    private ResourceLink icon;

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public User() {
    }

    public ResourceLink getIcon() {
        return icon;
    }

    public void setIcon(ResourceLink icon) {
        this.icon = icon;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Long getPassword() {
        return password;
    }

    public void setPassword(Long password) {
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + id +
                ", username='" + username + '\'' +
                ", nickname='" + nickname + '\'' +
                ", password=" + password +
                ", gender=" + gender +
                ", icon='" + icon + '\'' +
                '}';
    }
}
